package li.service.impl;

import li.dao.ProductMapper;
import li.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    ProductMapper pm;
    @Override
    public List findAllProducts() {
        return pm.selectList(null);
    }
}
